package com.ohxwj.modules.web.dao;

import com.ohxwj.modules.sys.dao.BaseDao;
import com.ohxwj.modules.web.entity.WebMenuEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018-04-09.
 */
@Mapper
public interface WebMenuDao extends BaseDao<WebMenuEntity> {

    List<WebMenuEntity> queryByParentId(@Param("parentId") int parentId);

    List<WebMenuEntity> queryNextMenuByParentId(@Param("parentId") int parentId);
}
